<html>
<head><meta charset="utf-8"><title>fail-fast mode for `./x.py test` · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html">fail-fast mode for `./x.py test`</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="175844234"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/fail-fast%20mode%20for%20%60./x.py%20test%60/near/175844234" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html#175844234">(Sep 16 2019 at 19:28)</a>:</h4>
<p>Is it possible to make <code>./x.py test</code> stop on the first test failure? I don't see anything relevant in <code>./x.py test --help</code></p>



<a name="175845529"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/fail-fast%20mode%20for%20%60./x.py%20test%60/near/175845529" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html#175845529">(Sep 16 2019 at 19:45)</a>:</h4>
<p>I think x.py test itself will, but e.g. compiletest currently won't</p>



<a name="175845558"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/fail-fast%20mode%20for%20%60./x.py%20test%60/near/175845558" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html#175845558">(Sep 16 2019 at 19:45)</a>:</h4>
<p>maybe there's a flag for compiletest though?</p>



<a name="175846072"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/fail-fast%20mode%20for%20%60./x.py%20test%60/near/175846072" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html#175846072">(Sep 16 2019 at 19:51)</a>:</h4>
<p>Does'nt look like it. By accidntly learned about <code>--pass check</code>, which I think should help me to get the result I want faster...</p>



<a name="175887668"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/fail-fast%20mode%20for%20%60./x.py%20test%60/near/175887668" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/fail-fast.20mode.20for.20.60.2E.2Fx.2Epy.20test.60.html#175887668">(Sep 17 2019 at 08:59)</a>:</h4>
<p>huh, that sounds like something that we <em>should</em> support. Sort of amazing that we hadn't put it into <code>compiletest</code> before.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>